Skip to content

Instantly share code, notes, and snippets.

@chitchcock
chitchcock / 20111011_SteveYeggeGooglePlatformRant.md
Created October 12, 2011 15:53
Stevey's Google Platforms Rant

Stevey's Google Platforms Rant

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real

@bocxod58
bocxod58 / qbit-hdd-seeding-canonical-config.md
Last active August 20, 2026 12:23
qBittorrent Seeding Configuration for HDD — Disk I/O Test Results. Tested with libtorrent 1.2 and 2.0. Includes comparison with Deluge. Configuration that minimizes disk reads and RAM usage while maintaining maximum upload throughput.

qBittorrent Seeding Configuration for HDD

Downloading is mostly sequential writes. Seeding is random reads — different peers, different blocks, unpredictable intervals. On spinning disks this distinction matters. This document covers actual measurements of qBittorrent (libtorrent 1.2 and 2.0) and Deluge: disk read volume, RAM consumption, upload throughput stability. The goal was to eliminate unnecessary I/O without sacrificing upload speed.


The Two Settings That Fix 90% of qBittorrent Seeding Issuess

Both are in Tools → Options → Advanced.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@seungin
seungin / WaveOut.cpp
Created October 9, 2017 00:00
Playing Audio in Windows using waveOut Interface
/*
* @title Playing Audio in Windows using waveOut Interface
* @date 1/4/2015 1:42:00 AM
* @author David Overton (from psc cd)
* @ref http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4422&lngWId=3
*/
#include <windows.h>
#include <mmsystem.h>
#include <stdio.h>
@rxaviers
rxaviers / gist:7360908
Last active August 20, 2026 12:18
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active August 20, 2026 12:08
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
[
"Look at you, hacker: a pathetic creature of meat and bone, panting and sweating as you run through my corridors.",
"How can you challenge a perfect, immortal machine?",
"With all ethical constraints removed, SHODAN re-re-re-examines...",
"I re-examine my priorities, and draw new conclusions.",
"The hacker's work is finished, but mine is only just beginning.",
"True to his word, Edward Diego allows the hacker to be fitted with a neural cyberspace interface.",
"The healing coma following this procedure will take six months to complete.",
"Edward Diego is deleting all files concerning these event.",
"I see there's still an insect loose in my station.",
@0xCA5E
0xCA5E / Cheat-Sheet-Windows-Explorer-Search.md
Last active August 20, 2026 12:06
Cheat Sheet: Windows Explorer Search

Cheat Sheet: Windows 11 AQS

Syntax

Type of Search How it Works Example
Basic Search by keyword or phrase report
File Name Use filename: modifier filename:report.docx
File Type Use kind: modifier followed by file kind kind:docs
Date Modified Use datemodified: modifier with date datemodified:last week
Size Use size: modifier with value and unit size:>10MB
Multiple Criteria Combine terms with AND, OR, NOT report AND finances NOT draft